Jump to content

Recommended Posts

Posted

Hi, I am new to XSLT.I am facing the need to access some registry key values using xslt ( withing xsl style sheets) and provide the values to the respective output nodes.I would like to know if it is possible and if so how to proceed. Thanks in advance

Posted

Um... XSLT can only acces XML files. By using entities in those files (or the unparsed-text() XSLT 2.0 function) you can read text files and put certain values from them in the output.As for registry entries... as far as I'm aware, they are not text files, nor they can be opened like such, so no: you can't do that with XSLT. What you can do is to create a script to fetch that data by other means and pass the results as parameter(s) to the stylesheet, where they can be handled.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...