There is no XML input file for XPath. Please set the "X

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Roger
Posts: 26
Joined: Tue Apr 05, 2005 11:29 pm

There is no XML input file for XPath. Please set the "X

Post by Roger »

in the transformation configuration."

What does that mean?? I've been just typing an Xpath expression into the Xpath edit box and it run on the current editing window. Does that not work on XSL files, only XML files?

I'm sorry to report that this is getting somewhat aggrevating. I really like the editor. THe help search is kind of useless for reasons we've already discussed.

Thanks again for the great work!!

Roger
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi Roger,

When editing a stylesheet the evaluation of XPath expressions can be performed either on the XML input or on the stylesheet itself. By default oXygen performs the XPath query on the input XML and it determines the input document from the transformation scenario. The message you see recommends you to set a scenario for the stylesheet so that the input XML can be determined.
To perform the XPath on the stylesheet itseld go to Options->Preferences dialog and select that on the XPath page.

Best Regards,
George
Post Reply