RE: [xsl] Is there a way to assign a base URI to a document?

Subject: RE: [xsl] Is there a way to assign a base URI to a document?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Thu, 25 Aug 2011 15:26:44 -0400
Ah!

A brilliant idea Andrew!

That does the job. If I embed xml:base into the XML document:

<test xml:base="file:/C:/xslt/examples/test6/test.xml">
    <location href="stuff/other.xml" />
</test>

Then I can pass it around to any function without losing its base URI.

Thanks!

/Roger

-----Original Message-----
From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx]
Sent: Thursday, August 25, 2011 3:15 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Is there a way to assign a base URI to a document?

> I would really like to assign to $new-xml a base URI. Is there a way to do
that? If not, what's the best way to deal with this situation?

xml:base ?



--
Andrew Welch
http://andrewjwelch.com

Current Thread