Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a page "Error" under my root node in Umbraco
How do I find out the XPath value for this page/node to be able to use on the
It works find if I have the Id (<error>1513</error>) but when I try <error>//Error</error> it does not work
<error>1513</error>
<error>//Error</error>
What would be the correct syntax for the page? Is there a quick way to find out that the XPath syntax for the page is?
Hi Mike,
If your document type is called Error then you will need to do it like this:
<error>//error</error>
Because in the XML document where the content is saved all elements will start with lowercase
I have just tried with a document type called Error and it works for me when I doing the above.
Try to do the same and see if it works for you too.
/Dennis
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using XPath on error in umbracoSettings.config
I have a page "Error" under my root node in Umbraco
How do I find out the XPath value for this page/node to be able to use on the
It works find if I have the Id (
<error>1513</error>
) but when I try<error>//Error</error>
it does not workWhat would be the correct syntax for the page? Is there a quick way to find out that the XPath syntax for the page is?
Hi Mike,
If your document type is called Error then you will need to do it like this:
Because in the XML document where the content is saved all elements will start with lowercase
I have just tried with a document type called Error and it works for me when I doing the above.
Try to do the same and see if it works for you too.
/Dennis
is working on a reply...