XSL, XML and XSD

G

Guy Lépine

Hello,
I'm using an XSD within an XML document for validation purposes. I also
transform this XML document with an XSL document using xsltproc. However, I
cannot match the pattern for the base tag, when a state the reference to the
XSD within it.

Anybody has an idea? Thanks,

Guy Lepine

The scenario looks like this:

XML doc:

<basetag
xmlns="bla"
xmlns:xsi="bla"
xsi:schemalocation="bla bla">

<childtag/>
[...]

</basetag>

XSL transform:

<xsl:value-of select="basetag/childtag"/> <--- this does not return any
value unless a define <basetag> without the reference to the XSD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top