[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
I wish to reference an external XML document that may or may not actually exist using XSLT 2. When it doesn't exist a command such as
<xsl:value-of select="document('ttt.xml')/one"/>
doesn't cause the transformation to fail whereas a command such as
<xsl:value-of select="doc('ttt.xml')/one"/>
does. I am using Saxon 8.
My understanding is that, since I am using XSLT 2, the doc() function provides a more simple solution. Can someone advise the correct way implement this?
Thanks
_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
[xsl] doc() and document()
Subject: [xsl] doc() and document() From: "tom tom" <tomxsllist@xxxxxxxxxxx> Date: Fri, 27 Apr 2007 15:50:31 +0100 |
I wish to reference an external XML document that may or may not actually exist using XSLT 2. When it doesn't exist a command such as
<xsl:value-of select="document('ttt.xml')/one"/>
doesn't cause the transformation to fail whereas a command such as
<xsl:value-of select="doc('ttt.xml')/one"/>
does. I am using Saxon 8.
My understanding is that, since I am using XSLT 2, the doc() function provides a more simple solution. Can someone advise the correct way implement this?
Thanks
_________________________________________________________________
Get Hotmail, News, Sport and Entertainment from MSN on your mobile. http://www.msn.txt4content.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT Newbie - Need help w, Daniel Lo Nigro | Thread | RE: [xsl] doc() and document(), Michael Kay |
RE: [xsl] XSLT Newbie - Need help w, Daniel Lo Nigro | Date | RE: [xsl] doc() and document(), Michael Kay |
Month |