May 28, 2021 XSL T
The XSLT unparsed-entity-uri() function is used to return the URI of an unresolved entity.
The unparsed-entity-uri() function returns the URI of the unresolved entity. T he entity name must match the parameters that are passed. I f an entity is defined, the URI string of the unanalysed entity is returned. Otherwise, an empty string is returned.
If the DTD contains the following statement:
<! ENTITY pic SYSTEM "//www.w3cschool.cn/picture.jpg" NDATA JPEG>
This expression:
unparsed-entity-uri('pic')
The URI of the file ".jpg" is returned.
parameter | describe |
---|---|
string | Required.Specifies the name of the unsolved entity. |