Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] xsl:id() function does not work though my document has dtd associated

From: "Michael Kay" <mike@------------>
To:
Date: 6/1/2005 8:17:00 AM
I wouldn't rely on the id() function working in this environment. You may be
able to get it to work (at the very least, you'll need to validate your
document against the DTD rather than just creating the DTD) but it will
probably be rather system-dependent. It would be much easier and more robust
to declare a key in the stylesheet and use that instead.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Ranjan K. Baisak [mailto:ranjanbaisak@xxxxxxxxx] 
> Sent: 01 June 2005 08:57
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] xsl:id() function does not work though my 
> document has dtd associated
> 
> My Document has dtd associated, but still the id()
> function does not seem to work.
> Can anybody suggest me what might be wrong.
> I am creating Document as below:
> 
> DOMImplementation domImpl =
> dbf.newDocumentBuilder().getDOMImplementation();
> DocumentType docType =
> domImpl.createDocumentType("project","\"-//Test//Project
> 1.0//EN\"","c:/test/dtd/test.dtd");
> Document newDoc =
> domImpl.createDocument(null,"project",docType);
> 
> regards,
> Ranjan
> 
> 
> 		
> __________________________________ 
> Discover Yahoo! 
> Get on-the-go sports scores, stock quotes, news and more. 
> Check it out! 
> http://discover.yahoo.com/mobile.html


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent