I am having problem in including a prefix of an
imported XML schema in an XSLT document. 

Following is my XML document:
<?xml version = "1.0" encoding = "UTF-8"?>
<?xml-stylesheet type="text/xsl" href="NYOrder.xsl"?>
<Order xmlns = "http://dov.org/d"; 
xmlns:jxdd="http://www.it.ojp.gov/jxdd/prerelease/3.0.0.0";
>
<jxdd:DocumentDescriptiveMetadata>
<jxdd:DocumentID>temp_order_2167</jxdd:DocumentID>
</jxdd:DocumentDescriptiveMetadata>
</Order>

Following is my XSLT document:
<?xml version = "1.0" encoding = "UTF-8"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
xmlns:jxdd="http://www.it.ojp.gov/jxdd/prerelease/3.0.0.0";
>
<xsl:template match="/">
<html>
<head>
<title>Order</title>
</head>
<body>
<xsl:value-of
select="Order/jxdd:DocumentDescriptiveMetadata/jxdd:DocumentID"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

The tags that have "jxdd:" prefix indicate that these
element are from an imported schema. I cannot access
these elements from the above XSLT document.

Does anyone know how to resolve this?

Talha


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to